fmt.fmtFlags.widPresent (field)
14 uses
fmt (current package)
format.go#L24: widPresent bool
format.go#L94: if !f.widPresent || f.wid == 0 {
format.go#L112: if !f.widPresent || f.wid == 0 {
format.go#L206: if f.widPresent || f.precPresent {
format.go#L229: } else if f.zero && !f.minus && f.widPresent { // Zero padding is allowed only to the left.
format.go#L397: if f.widPresent {
format.go#L403: if f.widPresent && f.wid > width && !f.minus {
format.go#L432: if f.widPresent && f.wid > width && f.minus {
format.go#L587: if f.zero && !f.minus && f.widPresent && f.wid > len(num) {
print.go#L184: func (p *pp) Width() (wid int, ok bool) { return p.fmt.wid, p.fmt.widPresent }
print.go#L1090: p.fmt.wid, p.fmt.widPresent, argNum = intFromArg(a, argNum)
print.go#L1092: if !p.fmt.widPresent {
print.go#L1105: p.fmt.wid, p.fmt.widPresent, i = parsenum(format, i, end)
print.go#L1106: if afterIndex && p.fmt.widPresent { // "%[3]2d"
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |